﻿
using System;

namespace PeterKuhn.SilverlightDebugHelper
{
    /// <summary>
    /// A set of constant values used throughout the addon.
    /// </summary>
    public static class Constants
    {
        /// <summary>
        /// The application name of the debug helper application.
        /// </summary>
        public const string ApplicationName = "Silverlight Debug Helper";

        /// <summary>
        /// The project type GUID of Silverlight projects.
        /// </summary>
        public static readonly Guid SilverlightProjectTypeGuid = new Guid("{A1591282-1198-4647-A2B1-27E5FF5F6F3B}");

        /// <summary>
        /// The Guid of the debug output window in Visual Studio.
        /// </summary>
        public const string DebugOutputWindowPaneGuid = "{FC076020-078A-11D1-A7DF-00A0C9110051}";

        /// <summary>
        /// The name of the Silverlight core module.
        /// </summary>
        public const string SilverlightCoreModule = "agcore.dll";

        /// <summary>
        /// The name of the Silverlight debug engine.
        /// </summary>
        public const string SilverlightDebugEngineGuidString = "{032f4b8c-7045-4b24-accf-d08c9da108fe}"; // {22189d02-cca4-40ae-a874-6c2a764fb071} probably is SL5

        /// <summary>
        /// The number of attempts to perform to attach to the browser process(es).
        /// </summary>
        public const int MaxNumberOfAttempts = 5;

        #region Internal Guids for the extension package, auto-generated

        public const string GuidSilverlightDebugHelperPkgString = "059c81da-a833-4c8d-ac0c-704ff6a93643";
        public const string GuidSilverlightDebugHelperCmdSetString = "35d19e7c-2bba-47e4-8d74-29f25a2aee95";
        public static readonly Guid GuidSilverlightDebugHelperCmdSet = new Guid(GuidSilverlightDebugHelperCmdSetString);

        #endregion
    }
}
